package oop.java0329.work1;

public class PlaneTest {
    public static void main(String[] args) {
        Pilot pilot = new Pilot();
        pilot.diver(new Airplane(20000,18099,200));
        System.out.println("--------------------------------------------");
        pilot.diver(new WarPlane(2000,20000,100));
    }
}
